﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MiserBlogMVC.Filter;
using MiserBlogData.Entities;

namespace MiserBlogMVC.Controllers
{
    [AuthorUserVIPFilter]
    public class ManageDiscussionController : Controller
    {
        public ActionResult Index()
        {
            Discussion discussion = new Discussion();
            IList<Discussion> list = discussion.GetList<Discussion>();

            return View(list);
        }

    }
}
